package com.software.sqlite.entity;
import lombok.Data;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;

/**
 * 商品信息实体类.
 * 2019-01-25 16:12 admin
 */
@Data
@Table(name = "tb_product_info")
public class TbProductInfo extends BaseEntity {

	/**productId*/
	@Column(name = "product_id")
	private Long productId;

	/**productQuantity*/
	@Column(name = "product_quantity")
	private Integer productQuantity;
	/**productDescribe*/
	@Column(name = "product_describe")
	private String productDescribe;
	/**商品价格（分）*/
	@Column(name = "product_price")
	private Integer productPrice;
	/**商品类型 1=流量充值；2=宽带续费*/
	@Column(name = "product_type")
	private String productType;
	/**商品名称*/
	@Column(name = "product_name")
	private String productName;

	/**remark*/
	@Column(name = "remark")
	private String remark;
	/**销售状态：1=上架；2=下架*/
	@Column(name = "sell_flag")
	private int sellFlag;
	/**uuid*/
	@Column(name = "uuid")
	private String uuid;
	/**部门名称*/
	@Column(name = "org_name")
	private String orgName;
	@Column(name = "ship_ids")
	private String shipIds;
	@Transient
	private String openid;
	@Transient
	private String shipCompanyNames;
	@Column(name = "ship_names")
	private String shipNames;
	@Transient
	private String shipCompanyName;
	@Transient
	private String shipName;

	@Column(name = "sonicwall_id")
	private Long sonicwallId;

	@Column(name = "sonicwall_name")
	private String sonicwallName;

	//下行流量（M）
	@Column(name = "receive_data")
	private Integer receiveData;

	//上行流量（M）
	@Column(name = "transmit_data")
	private Integer transmitData;

	//自动循环--month
	@Column(name = "quota_cycle")
	private String quotaCycle;

	//有效期（天）
	@Column(name = "session_lifetime")
	private Integer sessionLifetime;

	//账号过期时间(天)
	@Column(name = "account_lifetime")
	private Integer accountLifetime;

	
}
